package cn.wondertek.system.domain;

import cn.wondertek.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wondertek.common.annotation.Excel;

/**
 * 【请填写功能名称】对象 cms_sys_role_menu
 *
 * @author ruoyi
 * @date 2020-06-02
 */
public class CmsSysRoleMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单id */
    private Long menuId;

    /** 父菜单id */
    @Excel(name = "父菜单id")
    private Long pid;

    /** 子菜单名称 */
    @Excel(name = "子菜单名称")
    private String menucName;

    /** $column.columnComment */
    @Excel(name = "子菜单名称")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "子菜单名称")
    private String updateId;

    public void setMenuId(Long menuId)
    {
        this.menuId = menuId;
    }

    public Long getMenuId()
    {
        return menuId;
    }
    public void setPid(Long pid)
    {
        this.pid = pid;
    }

    public Long getPid()
    {
        return pid;
    }
    public void setMenucName(String menucName)
    {
        this.menucName = menucName;
    }

    public String getMenucName()
    {
        return menucName;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setUpdateId(String updateId)
    {
        this.updateId = updateId;
    }

    public String getUpdateId()
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("menuId", getMenuId())
            .append("pid", getPid())
            .append("menucName", getMenucName())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
